package frsf.cidisi.exercise.tpidemia.situationCalculus;

import frsf.cidisi.faia.agent.Action;
import java.util.Vector;
import frsf.cidisi.faia.agent.Agent;
import frsf.cidisi.faia.environment.Environment;


public class Emiroce extends Environment {

    public Emiroce() {
        this.environmentState = new ArqueologoEstadoEntorno();
    }

    @Override
    public ArqueologoEstadoEntorno getEnvironmentState() {
        return (ArqueologoEstadoEntorno) super.getEnvironmentState();
    }

    @Override
    public boolean agentFailed(Action action) {

        //TODO: Complete Method

        return false;
    }

    @Override
    public ArqueologoPerception getPercept() {

        ArqueologoPerception p = new ArqueologoPerception();
        p.setPosicion(this.getEnvironmentState().getAldeaActual());
        p.setPesoAcoplado(this.getEnvironmentState().getPesoAcoplado());
        p.setValorAcoplado(this.getEnvironmentState().getValorAcoplado());
        p.setCamara(this.getEnvironmentState().getTesoroActual());
        p.setAldeaFinal(this.getEnvironmentState().getAldeaFinal());
     
        return p;
    }
    
    @Override
    public String toString() {
        return this.environmentState.toString();
    }
}
